package com.wujie.market.po;

import java.io.Serializable;

/**
 * (Orderdetail)实体类
 *
 * @author 
 * @since 2023-01-27 19:47:57
 */
public class Orderdetail implements Serializable {
    private static final long serialVersionUID = -12597669239838818L;
    
    private Integer gId;
    
    private Integer oId;
    
    private Double singlePrice;
    
    private Integer saleNum;
    
    private Double totalPrice;

    private String gName;

    public Orderdetail() {
    }

    public Orderdetail(Integer gId, Integer oId, Double singlePrice, Integer saleNum, Double totalPrice, String gName) {
        this.gId = gId;
        this.oId = oId;
        this.singlePrice = singlePrice;
        this.saleNum = saleNum;
        this.totalPrice = totalPrice;
        this.gName = gName;
    }

    @Override
    public String toString() {
        return "Orderdetail{" +
                "gId=" + gId +
                ", oId=" + oId +
                ", singlePrice=" + singlePrice +
                ", saleNum=" + saleNum +
                ", totalPrice=" + totalPrice +
                ", gName='" + gName + '\'' +
                '}';
    }


    public Integer getgId() {
        return gId;
    }

    public void setgId(Integer gId) {
        this.gId = gId;
    }

    public Integer getoId() {
        return oId;
    }

    public void setoId(Integer oId) {
        this.oId = oId;
    }

    public Double getSinglePrice() {
        return singlePrice;
    }

    public void setSinglePrice(Double singlePrice) {
        this.singlePrice = singlePrice;
    }

    public Integer getSaleNum() {
        return saleNum;
    }

    public void setSaleNum(Integer saleNum) {
        this.saleNum = saleNum;
    }

    public Double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getgName() {
        return gName;
    }

    public void setgName(String gName) {
        this.gName = gName;
    }
}

